package com.xms.security.service.dataauth;

import com.xms.core.exception.XmsException;
import com.xms.datacore.service.ICreaterService;
import com.xms.schema.entity.Entity;
import com.xms.security.entity.EntityPermission;

import java.sql.SQLException;

/**
 * <p>
 * IEntityPermissionCreaterService
 * </p>
 *
 * @author migo
 * @since 2021/10/8
 */
public interface IEntityPermissionCreaterService extends ICreaterService<EntityPermission> {
    boolean createDefaultPermissions(Entity entity) throws XmsException, SQLException;
}
